package com.neuedu.nevserver.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author sjy
 * @since 2025-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RetaBatch对象", description="")
public class RetaBatch implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号（代替batch_id与reta_id的复合主键）")
    @TableId(value = "rb_id", type = IdType.AUTO)
    private Long rbId;

    @ApiModelProperty(value = "所属零售商产品批号")
    private String batchId;

    @ApiModelProperty(value = "所属零售商编号")
    private Integer nodeId;

    @ApiModelProperty(value = "所属批发商进场编号")
    private Integer wbId;

    @ApiModelProperty(value = "产品品种")
    private String type;

    @ApiModelProperty(value = "批号录入日期")
    private Date batchDate;

    @ApiModelProperty(value = "朔源标识码")
    private String sourceId;

    @ApiModelProperty(value = "朔源二维码")
    private String sourceQr;

    @ApiModelProperty(value = "批号状态（1：新建；2：待确认；3：已确认；4：下架；）")
    private Integer state;

    @ApiModelProperty(value = "备注")
    private String remarks;

    public Long getRbId() {
        return rbId;
    }

    public void setRbId(Long rbId) {
        this.rbId = rbId;
    }

    public String getBatchId() {
        return batchId;
    }

    public void setBatchId(String batchId) {
        this.batchId = batchId;
    }

    public Integer getNodeId() {
        return nodeId;
    }

    public void setNodeId(Integer nodeId) {
        this.nodeId = nodeId;
    }

    public Integer getWbId() {
        return wbId;
    }

    public void setWbId(Integer wbId) {
        this.wbId = wbId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getBatchDate() {
        return batchDate;
    }

    public void setBatchDate(Date batchDate) {
        this.batchDate = batchDate;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getSourceQr() {
        return sourceQr;
    }

    public void setSourceQr(String sourceQr) {
        this.sourceQr = sourceQr;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
